@model Appetite.Presentation.Web.Model.Recipe.CreateOrEditViewModel

@Html.HiddenFor(model => model.Recipe.Id)
@Html.HiddenFor(model => model.Recipe.CreationDate)
@Html.HiddenFor(model => model.Recipe.ModificationDate)

<div class="editor-label">
    @Html.LabelFor(model => model.Recipe.Title)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Recipe.Title)
    @Html.ValidationMessageFor(model => model.Recipe.Title)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Recipe.Description)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Recipe.Description)
    @Html.ValidationMessageFor(model => model.Recipe.Description)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Recipe.TimeInMinutes)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Recipe.TimeInMinutes)
    @Html.ValidationMessageFor(model => model.Recipe.TimeInMinutes)
</div>
<div class="editor-label">
    @Html.LabelFor(model => model.Recipe.RecipeCategory)
    @Html.DropDownListFor(model => model.Recipe.RecipeCategoryId, Model.Categories)
</div>